<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
    <!-- 最新版本的 Bootstrap 核心 CSS 文件 -->
    <link rel="stylesheet" href="https://cdn.bootcss.com/bootstrap/3.3.7/css/bootstrap.min.css"
          integrity="sha384-BVYiiSIFeK1dGmJRAkycuHAHRg32OmUcww7on3RYdg4Va+PmSTsz/K68vbdEjh4u" crossorigin="anonymous">
    <!-- 最新的 Bootstrap 核心 JavaScript 文件 -->
    <script src="https://cdn.bootcss.com/bootstrap/3.3.7/js/bootstrap.min.js"
            integrity="sha384-Tc5IQib027qvyjSMfHjOMaLkfuWVxZxUPnCJA7l2mCWNIpG9mGCD8wGNIcPD7Txa"
            crossorigin="anonymous"></script>
</head>
<body>
<ul class="list-group">
    <li class="list-group-item">账号：{{ user.username }}</li>
    <li class="list-group-item">昵称：{{ user.nickname }}</li>
    <li class="list-group-item">性别：{{ user.gender }}</li>
    <li class="list-group-item">注册时间：{{ user.create_time }}</li>
    <li class="list-group-item">个性签名：{{ user.sign }}</li>
    <li class="list-group-item">头像：<img src="/static/media/{{ user.pic }}" width="100" height="80"></li>


    {% load cache %}
    {#  模板的缓存 #}
    {% cache 30 userinfo %}
        <li class="list-group-item">账号：{{ user.username }}</li>
        <li class="list-group-item">昵称：{{ user.nickname }}</li>
    {% endcache %}

</ul>
</body>
</html>